(function($, gmwk) {

    function Post(Options) {
  
        // console.info("Options", Options);
    
        var self = this;
        var sClassName = Options.sClassName;
        var jqContainer = Options.jqObjectContainer;
        
        jqContainer.click(fClick);
        
        // console.info("---------> Task constructed");
        
        this.getClassName = function() {
            return sClassName;
        }
        
        this.route = function(Fragment) {
            console.info("route", Fragment);
        }
            
        function fClick(e) {
            var jqTarget = $(e.target);
            if (gmwk.closestObjectContainer(jqTarget) != jqContainer.attr("id")) {
                return;
            }
            console.info("fClick");
        }
      
    }
  
    gmwk.classes.Post = Post;

})(jQuery, window.gmwk);
